﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;

/// <summary>
/// 建造者模式的导演角色
/// </summary>
public class Director : MonoBehaviour
{
    public static ICharacter ConstructCharacter(IBuilder builder)
    {
        builder.AddAttribute();
        builder.AddCharacterGameobject();
        builder.AddWeaponGameObject();

        return builder.ResultCharacter();
    }
}
